import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environment';

// use mock
declare const require: any
if (environment.isMock) {
  require('./mock/mock-data')
}

platformBrowserDynamic().bootstrapModule(AppModule, {})
  .catch(err => console.error(err));

